import Tabs from './Tabs'
import Tinymce from './Tinymce'
import SvgIcon from './SvgIcon'
import Loading from './Loading'
import Refresh from './Refresh'
import Skeleton from './Skeleton'
import PageTable from './PageTable'
import BackToTop from './BackToTop'
import TitleLine from './TitleLine'
import Hamburger from './Hamburger'
import Breadcrumb from './Breadcrumb'
import Pagination from './Pagination'
import RightPanel from './RightPanel'
import Screenfull from './Screenfull'
import SearchForm from './SearchForm'
import ThemePicker from './ThemePicker'
import UploadExcel from './UploadExcel'
import BarChart from './Charts/BarChart'
import LineChart from './Charts/LineChart'
import PieChart from './Charts/PieChart'
import UploadImage from './UploadImage'
import VideoPlayer from './VideoPlayer'
import LiveOverview from './LiveOverview'
import ScrollSelect from './ScrollSelect'
import RegionTree from './RegionTree'
import PopConfirm from './PopConfirm'
import AreaSelect from './AreaSelect'
import SelectEmail from './SelectEmail'
import UploadVideo from './UploadVideo'
import AreaMultipleSelect from './AreaMultipleSelect'
import ImgUpload from './ImgUpload'

const components = {
  Tabs,
  SvgIcon,
  Tinymce,
  Loading,
  Refresh,
  Skeleton,
  BarChart,
  PieChart,
  LineChart,
  Hamburger,
  PageTable,
  BackToTop,
  TitleLine,
  Breadcrumb,
  Pagination,
  RightPanel,
  Screenfull,
  SearchForm,
  UploadExcel,
  ThemePicker,
  UploadImage,
  VideoPlayer,
  LiveOverview,
  AreaSelect,
  ScrollSelect,
  UploadVideo,
  PopConfirm,
  RegionTree,
  SelectEmail,
  AreaMultipleSelect,
  ImgUpload
}

export default {
  install: Vue => {
    for (const key in components) {
      Vue.component(key, components[key])
    }
  }
}
